//
//  EFAMsgSelVersionTCell.m
//  efairy
//
//  Created by XiangDongMBP on 2017/11/1.
//  Copyright © 2017年 East. All rights reserved.
//

#import "EFAMsgSelVersionTCell.h"
#import "EFAModel.h"

@implementation EFAMsgSelVersionTCell
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)configViewWithVersionItem:(EFADevVersionItem *)item {
    self.titleLabel.text = item.efairydeviceversion_version;
    self.subTitleLabel.text = item.efairydeviceversion_add_time;
    self.contentLabel.text = item.efairydeviceversion_description;
}
- (void)configViewWithCompanyCodeItem:(EFACompanyCodeItem *)item {
    self.titleLabel.text = [NSString stringWithFormat:@"%ld", (long)item.efairydevicecompanycode_code];
    self.subTitleLabel.text = item.efairydevicecompanycode_add_time;
    self.contentLabel.text = item.efairydevicecompanycode_name;
}
- (void)configViewWithUsageCodeItem:(EFAUsageCodeItem *)item {
    self.titleLabel.text = [NSString stringWithFormat:@"%ld", (long)item.efairydeviceusagecode_code];
    self.subTitleLabel.text = item.efairydeviceusagecode_add_time;
    self.contentLabel.text = item.efairydeviceusagecode_name;
}
@end
